package cn.neusoft.service;

import cn.neusoft.domain.Dept;
import cn.neusoft.domain.Operator;
import cn.neusoft.query.BaseQuery;
import cn.neusoft.vo.PageBean;

import java.util.List;
import java.util.Map;

public interface OperatorService {
    void add(Operator operator);

    void update(Operator operator);

    void updateStatus(Operator operator);

    void deleteById(String operator_id);


    List<Operator> findAll();

    Operator findById(String operator_id);

    Operator findByAccount(String operator_account);

    Operator findByTel(String tel);

//    Map<String, Object> loginByPwd(String operator_account, String operator_password);

//    Map<String, Object> loginByTel(String tel, String code);

    PageBean<Operator> findByPage(BaseQuery query);

//    void send(String phone, String[] params);
}
